// this file was added from scratch to the project by Josh Latvatalo
#include <iostream>
#include <sstream>
#include <string>
using namespace std;

#ifndef TIME_H_
#define TIME_H_


class Time{
	int hour, minute;
	bool time_valid(int h, int m);
public:
	Time(int h, int m);
	Time();
	string display_time();

	//Ecky C3
	inline friend std::istream& operator>> (std::istream& in, Time& oi) 
	{ 
        return in >> oi.hour >> oi.minute; 
    }

	//Ecky C3
    inline friend std::ostream& operator<< (std::ostream& os, Time const& oi) 
	{ 
        return os << oi.hour << " " << oi.minute;
    }
};
#endif
